package com.zhonghui.scm.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 供应链SCM-采购管理-采购申请对象 scm_purchasing_appliction
 * 
 * @author qiezhi
 * @date 2023-12-18
 */
@Data
public class ScmPurchasingApplictionVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 申请单号 */
    @Excel(name = "申请单号")
    private String applicationNo;

    /** 申请类型 */
    @Excel(name = "申请类型")
    private Long applicationType;


    /** 计划ID */
    @Excel(name = "计划ID")
    private Long purchasingPlanId;
    @Excel(name = "计划单号")
    private String documentNumber;

    /** 补货单号 */
    @Excel(name = "补货单号")
    private Long replenishmentId;
    private String rDocumentNumber;

    /** 申请人id */
    @Excel(name = "申请人id")
    private Long applicantId;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicantDate;

    /** 申请状态:0未提交,1待审核,2已审核 */
    @Excel(name = "申请状态:0未提交,1待审核,2已审核")
    private Long applicantStatus;

    /** 审核人id */
    @Excel(name = "审核人id")
    private Long approvedId;

    /** 审核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvedDate;

    /** 审核状态:0驳回,1通过 */
    @Excel(name = "审核状态:0驳回,1通过")
    private Long approvedStatus;

    /** 审核意见 */
    private String approvedComments;


}
